package cn.nange.cmfz.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
@Data
public class Banner implements Serializable {
    private Integer id;
    private String imgUrl;
    private String bannerName;
    private Integer state;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8" ,pattern = "yyyy年MM月dd日")
    private Date date;
    private String desc;
}
